﻿using Model.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


namespace Model.Models
{
    public class MusicStoreDbInitializer:System.Data.Entity.DropCreateDatabaseAlways<MusicStoreDB>
    {
        protected override void Seed(MusicStoreDB context)
        {
            context.Artists.Add(new Artist { Name = "半壶*烟纱" });
            context.Genres.Add(new Genre { name = "七月的风",Description="八月的雨" });


            base.Seed(context);
        }
    }
}